From b98f5a0823b178f0ba0506b38bc954e3ce5453df Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 23 Jul 2018 14:55:25 +0530 Subject: [PATCH] meson: Always fetch pangoft2_dep from the pango subproject This ensures that we will use pangoft2 if it is available, and not if it is not available. See: https://gitlab.gnome.org/GNOME/pango/merge_requests/6 --- meson.build | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build index 1483353cfa..53504f9279 100644 --- a/meson.build +++ b/meson.build @@ -327,12 +327,8 @@ pango_dep = dependency('pango', version: pango_req, # Require PangoFT2 if on X11 or wayland require_pangoft2 = wayland_enabled or x11_enabled - -if require_pangoft2 - pangoft_dep = dependency('pangoft2', fallback : ['pango', 'libpangoft2_dep']) -else - pangoft_dep = dependency('pangoft2', required: false) -endif +pangoft_dep = dependency('pangoft2', required: require_pangoft2, + fallback : ['pango', 'libpangoft2_dep']) if pangoft_dep.found() # Need at least 2.7.1 for FT_Get_Var_Design_Coordinates() -- 2.30.2